Real time radiation treament planning system

ABSTRACT

The invention relates to a real time radiation treatment planning system for use in effecting radiation therapy of a pre-selected anatomical portion of an animal body according to the preamble of claim 1.  
     According to the invention said processing means are provided with a three-dimensional imaging algorithm and a three-dimensional image segmentation algorithm for at least the specific organs within said anatomical portion and the needles for converting the image data obtained with said imaging means into a three-dimensional image of the anatomical portion, whereby by using at least one single or multi-objective anatomy based genetic optimization algorithm  
     for pre-planning or virtual simulation purposes said processing means are arranged to determine in real time the optimal number and position of at least one of said hollow needles, the position of said energy emitting source within each hollow needle as well as the dwell times of said energy emitting source at each position; whereas  
     for post planning purposes said processing means are arranged to determine based on three-dimensional image information in real time the real needle positions and the dwell times of said energy emitting source for each position.

DESCRIPTION

[0001] The invention relates to a real time radiation treatment planning system for use in effecting radiation therapy of a pre-selected anatomical portion of an animal body, comprising:

[0002] A a stepper for automatically positioning imaging means for generating image data corresponding to the anatomical portion;

[0003] B means for inserting under the guidance of a template at least one hollow needle at a position into said anatomical portion;

[0004] C radiation delivery means for defining a plurality of positions having a spatial relationship within a volume of said anatomical portion and for inserting at least one energy emitting source through said at least one hollow needle at said plurality of positions into said anatomical portion;

[0005] D processing means for generating a radiation treatment plan for effecting said radiation therapy, said treatment plan including information concerning:

[0006] the number, position, direction and estimation of the best way of placement of one or more of said hollow needles within the anatomical portion and volume of said anatomical portion to be treated;

[0007] the amount of radiation dose to be emitted.

[0008] The last decade has seen major changes in the way radiation treatments are delivered. The century-old objective of radiation therapy, i.e. to deliver a curative dose to the target, e.g. a tumour, while preserving normal tissues of the animal body can now be aimed at with a high degree of sophistication. However, despite of major improvements achieved with three-dimensional imaging techniques, that allow the anatomy to be properly defined, brachytherapy treatments have not yet fully benefited from these important new pieces of information.

[0009] For brachytherapy using high dose rate (HDR) energy emitting sources, catheters or hollow needles are placed in a target volume within an animal body and it is assumed that if the dose distribution covers the catheters, it should also cover the anatomy. Imaging is commonly used to set the treatment margins, but optimized dose distributions are based on considerations, such as the catheter positions and desired dose and limited to a few defined points. This necessarily results in an approximation of the shape of the anatomical portion to be treated.

[0010] For the case of treatments of the prostate, volume optimization results in a dose distribution that is essentially cylindrically shaped. With a cylindrically shaped approximation of the prostate it is possible to assure the complete coverage of the prostate volume with the radiation emitted by the source or sources. Only a conformal dose distribution delivered to the anatomical portion with an adequate margin around the prostate will encompass all affected, cancerous tissue.

[0011] The methods described in the prior art (e.g. Etienne Lessard, Med. Phys. 28. (5), May 2001) are using the concept of inverse planning to obtain an anatomy-based optimization of the dose distribution. Without any manual modification to deliver conformal HDR prostate treatment and knowing the exact location of the applicators (catheters/hollow needles), due to modern imaging techniques, it is easy to determine the possible stopping position of the radioactive source within a catheter or hollow needle present in the animal body. The possible source positions are considered given. The system has to determine based on a HDR inverse planning dose optimization governed entirely from anatomy and clinical criteria to decide the best dwell time distribution.

[0012] In U.S. Pat. No. 5,391,139 in the name of G. K. Edmundson a real time radiation treatment planning system according to the preamble is disclosed. With this system image data of the anatomical portion, e.g. the prostate is obtained for planning purposes and the medical personnel chooses an arbitrary number of needle locations using predetermined placement rules, which have been empirically determined from experience. The planning system develops a treatment plan based on these arbitrary needle positions after which the medical personnel has to examine the planning results and decide whether these results are suitable for the performing the actual radiation treatment. In case the medical personnel finds the planning results unsatisfactorily the virtual needle positions have to be altered and using the repositioned needles a new treatment plan is generated. This trial-and-error approach is repeated until a treatment plan is developed that satisfies the actual intended radiation treatment.

[0013] Subsequently the catheters or needles are inserted via a template into the animal body according to the generated treatment plan.

[0014] Conventional dose optimization algorithms are single objective, i.e. they provide a single solution. This solution is found by a trial-and-error search method as in Edmundson's U.S. Pat. No. 5,391,139, by modifying importance factors of a weighted sum of objectives, e.g. by repositioning the virtual needles or by changing the radiation dose to be delivered. This problem has been addressed currently and some methods have been proposed to find an optimal set of importance factors.

[0015] Conventional optimization methods combine the target objectives and the objectives for the surrounding healthy tissue and of critical structures into a single weighted objective function. The weight or importance factor for each objective must be supplied. The obtained solution depends on the value of importance factors used. One goal of a treatment planning system is the ability to assist the clinician in obtaining good plans on the fly. Also it should provide all the information of the possibilities given the objectives of the treatment. In order to explore the feasible region of the solution space with respect to each objective, different values for the importance factors in the aggregate objective function must be given.

[0016] Furthermore, the appropriate values of these importance factors differ from clinical case to clinical case. This implies that for any new clinical case a lot of effort is necessary for their determination.

[0017] While current optimization methods are single weighted objective methods the dose optimization problem is a true multi-objective problem and therefore multi-objective optimization methods should be used.

[0018] The gradient-based algorithm due to its efficiency allows the construction of the so-called Pareto or trade-off surface which contains all the information of the competition between the objectives which is necessary for the planner to select the solution which best fulfills his requirements.

[0019] One problem of this algorithm is that the weighted sum as used in all conventional dose optimization algorithms cannot provide solutions in possible non-convex parts of the Pareto tradeoff surface, because a convex weighted sum of objectives converges only to the convex parts of the Pareto front. Another major limitation of the algorithm is its restriction to convex objective functions for which gradients can be calculated. In this case according to the Kuhn-Tucker theorems a global optimum can be obtained and the entire Pareto front is accessible from the weighted sum.

[0020] When searching for an optimal set of importance factors dividing each importance factors in n points, then the number of combinations for k objectives is approximately proportional to n^(k−1) and the shape of the entire trade-off surface require a very large computational time. Most realistic problems require the simultaneous optimization of many objectives. It is unlikely that all objectives are optimal for a single set of parameters. If this is so, then there exist many, in principle infinite solutions.

[0021] A multi-objective algorithm does not provide a single solution, but a representative set of all possible solutions. Out of these representative solutions a single final solution has to be selected. It is a complex problem to automatically select such a solution and such methods have been proposed but then a planner would not know what alternatives solutions could instead be selected. In problems where different sets of objectives have to be compared this information is valuable, since it shows the possibilities a planner has for each such set.

[0022] A time analysis of the optimization with available commercial systems based on e.g. 35 clinical cases shows that even if a single optimization run requires only a few seconds the actual optimization requires 5.7±4.8 minutes. The evaluation of the results requires additional 5.8±2.5 minutes. This shows that the result of a single optimization run is not always satisfactorily and most of the time is spent in a manual trial-and-error optimization.

[0023] The invention aims to obviate the above described problems and proposes a new real time radiation treatment planning system according to the above preamble, where the possible positions of the energy emitting sources are not considered given and the location of the needles are not predetermined based on rules, which have been empirically determined.

[0024] It is also an object of the present invention to describe a new real time radiation treatment planning system and method, which will allow a significant speed-up of single and multi-objective anatomy based dose optimization and inverse planning procedures for HDR interstitial brachytherapy.

[0025] More in particular the invention aims to generate in real time a treatment plan, which will be presented to the medical personnel instantly and can also immediately used as the radiation treatment.

[0026] According to the invention said processing means are provided with a three-dimensional imaging algorithm and a three-dimensional image segmentation algorithm for at least the specific organs within said anatomical portion and the needles for converting the image data obtained with said imaging means into a three-dimensional image of the anatomical portion, whereby by using at least one single or multi-objective anatomy based genetic optimization algorithm for pre-planning or virtual simulation purposes said processing means are arranged to determine in real time the optimal number and position of at least one of said hollow needles, the position of said energy emitting source within each hollow needle as well as the dwell times of said energy emitting source at each position; whereas for post planning purposes said processing means are arranged to determine based on three-dimensional image information in real time the real needle positions and the dwell times of said energy emitting source for each position.

[0027] The term needles in this application also covers e.g. catheters, guide tubes or other elements to be implanted in an animal body for positioning an energy emitting source inside that animal body. The three-dimensional image segmentation algorithm used in the treatment planning system according to the invention may use all or part of these elements (hollow needles, catheters, and guide tubes, e.g.).

[0028] The use of a three-dimensional imaging algorithm and a three-dimensional image segmentation algorithm allows a real time and fast generation of a treatment plan without the necessity of determining certain objectives as a starting point for the treatment planning step, such as the positioning of one or more needle inside the anatomical portion.

[0029] In fact with the treatment planning system according to the invention for generating a treatment plan said anatomy based genetic optimization algorithm uses specific animal body related data and/or system related data and/or radiation related data, wherein said animal body related data are data concerning the shape and localization of said anatomical portion and/or the shape and localization of specific organs near or within said anatomical portion.

[0030] Said system related data may be data concerning the template and its position in relation to said anatomical portion of said animal body and/or the dimensions of the needles used and/or the minimum displacement distance of said energy emitting source through said radiation delivery means, whereas said radiation related data are data concerning the prescribed radiation dose to said anatomical portion of said animal body, the maximum radiation exposure dose to said specific organs near or within said anatomical portion.

[0031] These specific data are used as boundary conditions and entered into the anatomy based genetic optimization algorithm by the medical personnel or determined/established by said algorithm from e.g. said image data obtained with the imaging means.

[0032] Dose optimization has to consider many objectives in conflict, such as the coverage of the pre-selected anatomical portion or planning target volume (PTV) to be treated with a specified dose and the dose protection of the surrounding tissue and specific delicate organs (OAR=organs at risk), such as the bladder and urethra, when treating prostate cancer. The objectives are combined into a single objective function f_(Tot) formed by a weighted sum of the individual objective functions. The optimal value f*_(i) for the i^(th) objective found by a optimization algorithm depends on the weights (importance factors) used and may not be the best possible result as the mapping from importance to objective space is complex, especially for three and more objectives. In cases where the solution is not satisfactory the treatment planner is required to repeat the optimization with a different set of importance factors. One method is to increase the importance factors of the objectives for which the solution does not provide a satisfactory result.

[0033] Practical only a very small number of combinations can be tested and with this approach the treatment planner cannot gain all the information about the range of possible values and the degree of competition, which are required to select the “best solution”. In order to get the “best” possible result avoiding trial-and-error methods the invention proposes and uses a gradient based multi-objective optimization algorithm.

[0034] The importance of this has been recognized by the U.S. Pat. No. 6,327,490, where a method is presented to save and compare different treatment plans. What is not recognized in this patent is that not only a modification of the energy emitting source positions is sometimes necessary, but also a modification of the importance factors/boundary conditions, which determine the quality of the solution. In clinical practice the reality is often that the optimization required is multi-objective rather than single-objective and this increases even further the time required for the calculation process. Consequently there is a real need in anatomy based optimization techniques and inverse planning procedures for very fast dose calculation methods.

[0035] The dose d_(i)(x) at the i^(th) sampling point is calculated by: ${d_{i}(x)} = {\sum\limits_{j = 1}^{N_{d}}{x_{j}^{2}{\overset{\sim}{d}}_{ij}}}$

[0036] where N_(d) is the number of sources, x_(j) ² is the dwell time of the j^(th) source dwell position and {tilde over (d)}_(ij) the kernel value for the i^(th) dose calculation point and j^(th) source dwell position. Dose calculation look-up tables (LUT) of {tilde over (d)}_(ij) are calculated and stored in a preprocessing step. The calculation of the dose for N_(S) sampling points requires N_(S)N_(d) multiplications and N_(S)(N_(d)−1) additions.

[0037] A Fast Fourier Transform (FFT) based convolution technique for the calculation of a three-dimensional dose distribution has been proposed by Boyer and Mok in 1986, which tries to reduce the calculation time. Employing FFT based convolution methods the time needed for the calculation of a dose distribution with this method is independent of the number of sources. While unable to cope with angular asymmetric kernels, an advantage of the FFT based method is that the computational time is practically independent of the form of the dosimetric kernel used. Our analysis has shown that this method is comparable with conventional methods only if the number of sources is much larger than 300. The avoidance of wrap around effects can only be avoided with zero padding in each dimension which increases the transform size to N=8.N_(S) for N_(S) sampling points and requires 8.N_(S).ln(8.N_(S)) operations.

[0038] The aim of HDR brachytherapy dose optimization according to the invention is to cover the anatomical portion (PTV) to be treated with at least some dose value, and to protect the specific delicate organs (OAR) and the surrounding normal tissue with dose values above some specific level. For variance based objective functions dose values above a critical dose value are penalized quadratic. The objectives are such that the isodose of the optimal dose distribution of the prescription dose coincides with the surface of the anatomical portion. With this approach, the use of an additional objective for the surrounding normal tissue is not necessary. For this the dose variance f_(s) of the sampling points (dose points) as uniformly distributed on the surface of the anatomical portion should be as small as possible. The avoidance of excessive high dose values inside the anatomical portion, e.g. the prostate is controlled by the dose distribution variance f_(v) inside the anatomical portion. ${f_{S} = {\frac{1}{N_{S}}{\sum\limits_{i = 1}^{N_{S}}\frac{\left( {d_{i}^{S} - m_{S}} \right)^{2}}{m_{S}^{2}}}}},{f_{V} = {\frac{1}{N_{V}}{\sum\limits_{i = 1}^{N_{V}}\frac{\left( {d_{i}^{V} - m_{V}} \right)^{2}}{m_{V}^{2}}}}}$

[0039] where m_(s) and m_(v) are the average dose values on the surface of the anatomical portion and within the anatomical portion respectively, and N_(s), N_(v) the corresponding numbers of sampling points. The objective space of (f_(s), f_(v)) is convex and gradient-based algorithms converge to the global Pareto front. If specific, delicate organs are to be considered then an additional objective is included for each specific organ (OAR): ${f_{OAR} = {\frac{1}{N_{OAR}}{\sum\limits_{i = 1}^{N_{OAR}}\frac{{\Theta \left( {d_{i}^{OAR} - {D_{c}^{OAR}m_{S}}} \right)}\left( {d_{i}^{OAR} - {D_{c}^{OAR}m_{S}}} \right)^{2}}{\left( {D_{c}^{OAR}m_{S}} \right)^{2}}}}},{{\Theta (x)} = \left\{ \begin{matrix} 1 & {x \geq 0} \\ 0 & {x < 0} \end{matrix} \right.}$

[0040] where N_(OAR) is the number of sampling points in the specific organ and D_(c) ^(OAR) is the corresponding critical dose as a fraction of the prescription dose or reference dose, which dose equals in this model the average dose on the surface of the anatomical portion. The objective functions for the specific delicate organs are of the same form as for the anatomical organs, but involve the dose variances versus the critical dose values, which are specific only to those particular specific organs. The derivatives are: $\frac{\partial f_{S}}{\partial x_{k}} = {\frac{4x_{k}}{N_{S}m_{S}}{\sum\limits_{i = 1}^{N_{S}}{d_{i}^{S}\left( {{m_{S}{\overset{\sim}{d}}_{ik}^{S}} - {d_{i}^{S}{\overset{\sim}{m}}_{k}^{S}}} \right)}}}$ $\frac{\partial f_{V}}{\partial x_{k}} = {\frac{4x_{k}}{N_{V}m_{V}}{\sum\limits_{i = 1}^{N_{V}}{d_{i}^{V}\left( {{m_{S}{\overset{\sim}{d}}_{ik}^{V}} - {d_{i}^{V}{\overset{\sim}{m}}_{k}^{V}}} \right)}}}$ $\frac{\partial f_{OAR}}{\partial x_{k}} = {\frac{4x_{k}}{{N_{OAR}\left( D_{c}^{OAR} \right)}^{2}m_{S}^{3}}{\sum\limits_{i = 1}^{N_{OAR}}{{\Theta \left( {d_{i}^{OAR} - {D_{c}^{OAR}m_{S}}} \right)}\left( {d_{i}^{OAR} - {D_{c}^{OAR}m_{S}}} \right)\left( {{m_{S}{\overset{\sim}{d}}_{ik}^{OAR}} - {d_{i}^{OAR}{\overset{\sim}{m}}_{k}^{S}}} \right)}}}$

[0041] Where the following relations are used: ${d_{i}^{S} = {\sum\limits_{l = 1}^{N_{d}}{x_{l}^{2}{\overset{\sim}{d}}_{il}^{S}}}},{m_{s} = {\frac{1}{N_{S}}{\sum\limits_{l = 1}^{N_{s}}d_{l}^{S}}}},{{\overset{\sim}{m}}_{k}^{S} = {\frac{1}{N_{S}}{\sum\limits_{l = 1}^{N_{s}}{\overset{\sim}{d}}_{l}^{S}}}},{k = 1},\ldots \quad,N_{d}$ ${d_{i}^{V} = {\sum\limits_{l = 1}^{N_{d}}{x_{l}^{2}{\overset{\sim}{d}}_{il}^{V}}}},{m_{v} = {\frac{1}{N_{V}}{\sum\limits_{l = 1}^{N_{v}}d_{l}^{V}}}},{{\overset{\sim}{m}}_{k}^{V} = {\frac{1}{N_{V}}{\sum\limits_{l = 1}^{N_{v}}{\overset{\sim}{d}}_{l}^{V}}}},{k = 1},\ldots \quad,N_{d}$ $d_{i}^{OAR} = {\sum\limits_{l = 1}^{N_{d}}{x_{l}^{2}{\overset{\sim}{d}}_{il}^{OAR}}}$

[0042] where d_(i) ^(s), d_(i) ^(v) and d_(i) ^(OAR) is the dose rate at the i^(th) sampling point on the surface of the anatomical portion, within the anatomical portion and within a specific organ respectively. ${\overset{\sim}{d}}_{il}^{S},{\overset{\sim}{d}}_{il}^{V},{\overset{\sim}{d}}_{il}^{OAR}$

[0043] is the dosekernel for the i^(th) sampling point and the l^(th) source dwell position for the sampling points on the surface of the anatomical portion, within the anatomical portion and in the specific organ respectively. N_(d) is the number of source dwell positions.

[0044] For a conventional method to calculate objective values and derivatives the lookup table {tilde over (d)}_(ia) ^(S) as a N_(S)xN_(d) matrix {tilde over (K)}^(S) are considered: ${\overset{\sim}{K}}^{S} = \begin{pmatrix} {\overset{\sim}{d}}_{11}^{S} & {\overset{\sim}{d}}_{11}^{S} & \ldots & {\overset{\sim}{d}}_{11}^{S} \\ {\overset{\sim}{d}}_{11}^{S} & {\overset{\sim}{d}}_{11}^{S} & \ldots & {\overset{\sim}{d}}_{11}^{S} \\ \vdots & \vdots & ⋰ & \vdots \\ {\overset{\sim}{d}}_{11}^{S} & {\overset{\sim}{d}}_{11}^{S} & \ldots & {\overset{\sim}{d}}_{11}^{S} \end{pmatrix}$

[0045] If {right arrow over (d)}^(S) ^(T) =(d^(S) ₁, d^(S) ₂, . . . , d^(S) _(Ns)) is the vector of dose values d_(i) ^(s) and {right arrow over (t)}^(T)=(t₁, t₂, . . . , t_(Nd))= (x₁², x₂², …  , x_(Nd)²)

[0046] the vector of the dwell times, then {right arrow over (d)}^(S)={tilde over (K)}^(S){right arrow over (t)}.

[0047] The conventional approach is to calculate the dose values and then the objective values and their derivatives. The number of operations to calculate {right arrow over (d)}^(S) requires N_(d).N_(s) multiplications and (N_(d)−1).N_(S) additions. The storage required for {tilde over (K)}^(S) is N_(d).N_(s) floating points. The storage of this pre-computed matrix is desired because of the significant gain in the optimization speed. The calculation of the objective functions and the derivatives for N_(s) sampling points and N_(d) source dwell positions requires therefore an order of N_(d).N_(s) operations.

THE NEW METHOD OF THE CALCULATION OF THE OBJECTIVES AND DERIVATIVES USING DOSE KERNEL LOOK-UP TABLES

[0048] The objective function f_(S) and its N_(d) derivatives can be written also as: ${f_{S} = {\left\lbrack {\frac{1}{N_{S}m_{S}^{2}}{\sum\limits_{i = 1}^{N_{S}}\left( d_{i}^{S} \right)^{2}}} \right\rbrack - 1}},{\frac{\partial f_{S}}{\partial x_{k}} = {{{\frac{4x_{k}}{N_{S}m_{S}^{2}}{\sum\limits_{i = 1}^{N_{S}}{d_{i}^{S}{\overset{\sim}{d}}_{ik}^{S}}}} + {\frac{4x_{k}{\overset{\sim}{m}}_{k}^{S}}{N_{S}m_{S}^{3}}{\sum\limits_{i = 1}^{N_{S}}{\left( d_{i}^{S} \right)^{2}k}}}} = 1}},2,\ldots \quad,N_{d}$

[0049] It is possible to reduce the number of operations of the objective value and its derivatives to approximately O(N_(d).N_(d)) operations. ${{With}\quad {\overset{\rightarrow}{d}}^{S^{T}}} = {{{\overset{\rightarrow}{t}}^{T}{\overset{\sim}{K}}^{S^{T}}\quad {we}\quad {have}\quad {\sum\limits_{i = 1}^{NS}\left( d_{i}^{S} \right)^{2}}} = {{{\overset{\rightarrow}{d}}^{S^{T}} \cdot {\overset{\rightarrow}{d}}^{S}} = {{{\overset{\rightarrow}{t}}^{T}{\overset{\sim}{K}}^{S^{T}}{\overset{\sim}{K}}^{S}\overset{\rightarrow}{t}} = {{\overset{\rightarrow}{t}}^{T}D^{S}{\overset{\rightarrow}{t} \cdot D^{s}}}}}}$

[0050] is a symmetric (D_(α  β)^(S) = D_(βα  )^(S))

[0051] N_(d)x N_(d) matrix. We call {tilde over (K)}^(S) the first order and D^(s) the second order dose kernel matrix.

[0052] The terms m_(s), m_(s) ² and $\sum\limits_{i = 1}^{N_{S}}\quad {d_{i}^{S}{\overset{\sim}{d}}_{i\quad \beta}^{S}}$

[0053] can be calculated from {tilde over (K)}^(S) using the relations: $\begin{matrix} \begin{matrix} {{m_{S} = {{\overset{\rightarrow}{s}}^{S^{T}}{\overset{\sim}{K}}^{S}\overset{\rightarrow}{t}}}\quad,} \\ {{m_{S}^{2} = {{{\overset{\rightarrow}{t}\quad}^{T}{\overset{\sim}{K}}^{S^{T}}{\overset{\rightarrow}{s}}^{S}{\overset{\rightarrow}{s}}^{S^{T}}{\overset{\sim}{K}}^{S}\overset{\rightarrow}{t}} = {{\overset{\rightarrow}{t}\quad}^{T}{\overset{\overset{\rightarrow}{\sim}}{m}}^{S}{\overset{\overset{\rightarrow}{\sim}}{m}}^{S^{T}}\overset{\rightarrow}{t}}}}\quad,} \end{matrix} \\ {{\sum\limits_{i = 1}^{N_{S}}\quad {d_{i}^{S}{\overset{\sim}{d}}_{i\quad \beta}^{S}}} = \left( {{\overset{\rightarrow}{s}}^{S^{T}}{\overset{\sim}{K}}^{S}} \right)_{\beta}} \end{matrix}$

[0054] where ${\overset{\rightarrow}{s}}^{S^{T}} = \frac{1}{N_{S}}$

[0055] (1, 1, 1, . . . , 1) is a N_(s) dimensional vector and {tilde over ({right arrow over (m)})}^(s) ^(T) ={right arrow over (s)}^(S) ^(T) {tilde over (K)}^(S).

[0056] From the matrix representation the following terms can be written analytically as: $\begin{matrix} {{g_{\alpha} \equiv {\sum\limits_{i = 1}^{N_{S}}{d_{i}^{S}{\overset{\sim}{d}}_{i\quad \alpha}^{S}}}} = {\sum\limits_{\beta = 1}^{N_{d}}{x_{\beta}^{2}D_{\alpha \quad \beta}^{S}}}} & (1) \end{matrix}$

$\begin{matrix} {{\sum\limits_{i = 1}^{N_{S}}\left( d_{i}^{S} \right)^{2}} = {{\sum\limits_{\alpha = 1}^{N_{d}}{\sum\limits_{\beta = 1}^{N_{d}}{x_{\alpha}^{2}x_{\beta}^{2}D_{\alpha \quad \beta}^{S}}}} = {{\sum\limits_{\alpha = 1}^{N_{d}}{x_{\alpha}^{2}{\sum\limits_{\beta = 1}^{N_{d}}{x_{\beta}^{2}D_{\alpha \quad \beta}^{S}}}}} = {\sum\limits_{\alpha = 1}^{N_{d}}{x_{\alpha}^{2}g_{\alpha}}}}}} & (2) \end{matrix}$

$\begin{matrix} {m_{S} = {\sum\limits_{\alpha = 1}^{N_{d}}{x_{\alpha}^{2}{\overset{\sim}{m}}_{\alpha}^{S}}}} & (3) \end{matrix}$

[0057] where $D_{\alpha \quad \beta}^{S} = {\sum\limits_{i = 1}^{N_{S}}{{\overset{\sim}{d}}_{i\quad \alpha}^{S}{{\overset{\sim}{d}}_{i\quad \beta}^{S}.}}}$

[0058] For the objective f_(v) the corresponding matrices {tilde over (K)}^(V) and D^(v) are required. D^(s) and D^(v) can be calculated once in a preprocessing step which requires only 1-2 seconds.

[0059] The equations (1)-(3) show us that it is possible to increase the number of sampling points in the anatomical portion without increasing the optimization time as the right side of each equation does not directly depend on the number of sampling points. This means that we can increase accuracy without increasing the computation costs.

[0060] With the new approach the number of operations is independent on the number of sampling points. It is not necessary to store the matrix {tilde over (K)}^(S) and {tilde over (K)}^(V). Only the matrices D^(s), D^(v) and the N_(d) dimensional vectors {tilde over (K)}^(S) ^(T) {right arrow over (s)}^(S) and {tilde over (K)}^(V) ^(T) {right arrow over (s)}^(V) are required for the dose optimization. The matrices {tilde over (K)}^(S) and {tilde over (K)}^(V) require N_(S).N_(d) and N_(V).N_(d) numbers to be stored, whereas both symmetric matrices D^(s) and D^(v) require N_(d) (N_(d)+1) numbers to be stored, i.e. the storage is independent on the number of sampling points.

[0061] It is of importance to mention that this novel algorithm can be applied in general for objectives (and their derivatives) of the following types commonly used in brachytherapy (HDR and seeds) and external beam radiotherapy: $\begin{matrix} {f_{1} = {\frac{1}{N}{\sum\limits_{i = 1}^{N}\quad \left( {d_{i} - D_{i}} \right)^{2}}}} & (4) \\ {f_{2} = {\frac{1}{N}{\sum\limits_{i = 1}^{N}d_{i}}}} & (5) \\ {f_{3} = {\frac{1}{N}{\sum\limits_{i = 1}^{N}d_{i}^{2}}}} & (6) \end{matrix}$

[0062] where D_(i) is the desired dose for the i^(th) sampling point and N the number of sampling points. Objectives of the form f₂ and f₃ are used for the surrounding normal tissue, where the dose has to be minimized. f₂ is a measure of the integral dose, whereas with f₃ high dose values are penalized stronger than with f₂.

[0063] For external beam radiotherapy and intensity modulated beam radiotherapy (IMRT) due to the sparse matrix nature of the kernel matrix we have a benefit only if the sampling point density is such that the average number of sampling points per beamlet is larger than the number of beamlets.

[0064] Furthermore it is to mention that since the kernel of an inverse planning system is based on the calculation of anatomy related objective functions, it is obvious that the same benefit is expected when this novel method is implemented as described in the Equations 1 to 3 above.

[0065] In order to optimize for the specific organ's the objective function and the derivatives are build up only by terms for which d_(i)^(OAR) > D_(c)^(OAR)m_(S),

[0066] which is expressed by Θ(d_(i)^(OAR) − D_(c)^(OAR)m_(S)).

[0067] A large fraction of the sampling points has dose values that are smaller than D_(c) ^(OAR) m_(S). It is possible to avoid the calculation of a fraction of these dose values using the Cauchy-Schwarz-Bunjakovski inequality: ${\sum\limits_{i = 1}^{N}\quad {a_{i}b_{i}}} \leq {\sqrt{\sum\limits_{i = 1}^{N}\quad a_{i}^{2}}\sqrt{\sum\limits_{i = 1}^{N}\quad b_{i}^{2}}}$

[0068] For the dose d_(i) of the i^(th) sampling point we have $d_{i} = {{\sum\limits_{l = 1}^{N_{d}}\quad {x_{i}^{2}{\overset{\sim}{d}}_{i\quad l}}} \leq {\sqrt{\sum\limits_{l = 1}^{N_{d}}\quad x_{l}^{4}}\sqrt{\sum\limits_{l = 1}^{N_{d}}\quad {\overset{\sim}{d}}_{i\quad l}^{2}}}}$

[0069] The quantity $r = \sqrt{\sum\limits_{l = 1}^{N_{d}}\quad x_{l}^{4}}$

[0070] is calculated only once in each iteration while the N_(S) constants ${p_{i} = \sqrt{\sum\limits_{l = 1}^{N_{d}}\quad {\overset{\sim}{d}}_{i\quad l}^{2}}},{i = 1},\quad \ldots \quad,N_{S}$

[0071] can be calculated and stored in a pre-processing step. If r·p_(i) r ⋅ p_(i) < D_(c)^(OAR)m_(S)

[0072] it follows d_(i) d_(i) < D_(c)^(OAR)m_(S),

[0073] otherwise it is necessary to calculate d_(i). Even if the estimation of the dose by the inequality is not very good it is possible to avoid the calculation of the dose values of a large fraction of the sampling points in the specific organs using only one multiplication per point.

[0074] A better estimate can be obtained using the relation: ${d_{i} = {{\sum\limits_{l = 1}^{N_{d}}{x_{l}^{2}{\overset{\sim}{d}}_{i\quad l}}} \leq {{\sqrt{\sum\limits_{l = 1}^{{Nd}\quad 1}\quad x_{l}^{4}}\sqrt{\sum\limits_{l = 1}^{{Nd}\quad 1}\quad {\overset{\sim}{d}}_{i\quad l}^{2}}} + {\sqrt{\sum\limits_{l = {{{Nd}\quad 1} + 1}}^{Nd}\quad x_{l}^{4}}\sqrt{\sum\limits_{l = {{{Nd}\quad 1} + 1}}^{Nd}\quad {\overset{\sim}{d}}_{i\quad l}^{2}}}} \leq {\sqrt{\sum\limits_{l = 1}^{Nd}\quad x_{l}^{4}}\sqrt{\sum\limits_{l = 1}^{Nd}\quad {\overset{\sim}{d}}_{i\quad l}^{2}}}}},$

[0075] i=1, . . . , N_(S) where N_(d) is divided into 2 approximately equal terms N₁, N₂, i.e. N_(d)=N₁+N₂.

[0076] The two terms $\sqrt{\sum\limits_{l = 1}^{{Nd}\quad 1}\quad x_{l}^{4}}$

[0077] and $\sqrt{\sum\limits_{l = {{{Nd}\quad 1} + 1}}^{Nd}\quad x_{l}^{4}}$

[0078] can be calculated in each iteration once while the 2N_(S) terms $\sqrt{\sum\limits_{l = 1}^{Nd1}\quad {\overset{\sim}{d}}_{i\quad l}^{2}}$

[0079] and $\sqrt{\sum\limits_{l = {{Nd1} + 1}}^{Nd}\quad {\overset{\sim}{d}}_{i\quad l}^{2}}$

[0080] are calculate once and stored in a pre processing step before the optimization.

[0081] This method can be extended to objective functions of the type ${f_{H}(x)} = {\frac{1}{N}{\sum\limits_{i = 1}^{N}\quad {{\Theta \left( {{d_{i}(x)} - D_{H}} \right)}\left( {{d_{i}(x)} - D_{H}} \right)^{\alpha}}}}$

[0082] For a=2 we obtain the quadratic type of objectives, for a=1 the Lessard-Pouliot objectives and for a=0 the DVH based objectives. Using the inequality we can avoid the calculation of the dose of a fraction of the sampling points if r·p_(i)<D_(H). For the rectum, bladder and normal tissue this approach avoids the calculation of a significant fraction of the dose values.

[0083] The main idea of the proposed dose optimization speed-up method is that the objective functions presented here and commonly used in brachytherapy and their derivatives can be calculated without the calculation of the individual dose values or a fraction of them. For objectives of the type given by equation (4)-(6) the number of operations for the calculation of the objective function values and their derivatives is independent of the number of sampling points, if we ignore the pre processing time to calculate and store {right arrow over (s)}^(S) ^(T) {tilde over (K)}^(S) and D^(S)={right arrow over (s)}^(S) ^(T) {tilde over (K)}^(S).

[0084] This method allows us to increase the number of sampling points in the anatomical portion up to a few thousands, improving thus the accuracy without any loss of optimization speed. In comparison to standard dose optimization the new method is faster the more sampling points we have. The speed-up is also significant for implants with a small number of source dwell positions, where the term N_(d) ² is much smaller than N_(s).N_(d) equired previously for the calculation of the dose values.

[0085] A multi-objective optimization with 100 sources using up to 100 solutions and up to 5000 sampling points in the anatomical portion with a 2 GHz PC is possible in less than 10 s. The storage for N_(S) sampling points and N_(d) sources can be reduced by a factor of approximately 2N_(S)/N_(d).

[0086] A speed-up is expected not only for deterministic algorithms but also for stochastic algorithms such as genetic algorithms or simulated annealing.

[0087] For high dose limits objectives an estimation of the dose value using only two multiplications and one addition per sampling point avoids the necessity of the calculation of the dose value of a fraction of the sampling points.

[0088]FIG. 1 shows in very schematic form various elements of a known device for implanting an energy emitting source, e.g. radioactive seeds into a prostate gland. A patient 1 is shown lying in lithotomy position on a table 2. Fixedly connected to the table 2 is a housing 3. Housing 3 comprises a drive means 4 to move rod 4 a stepwise. A template 5 is connected or mounted to the table 2, which template is provided (not shown) with a plurality of guiding holes through which holes hollow needles 9, 10 can be positioned relative to the patient. By means of a holder 6 a transrectal imaging probe 7 is fixedly connected to said rod 4 a, which is moveable in a direction towards and from the patient by means of the drive means 4. The imaging probe 7 can be an ultrasound probe.

[0089] A needle 9 is used for fixing the prostate gland 11 in position relative to the template 5. A number of needles 10 is fixed into position through the template 5 in the prostate gland 11. The template 5 determines the relative positions of the needles 10 in two dimensions. The needles 10 are open at their distal ends and are sealed of by a plug of bio-compatible, preferably bio-absorbable wax. In said housing 3 a seed loading unit 8 is present.

[0090] A well-known therapy planning module 12 a is provided for determining the number and relative positions of seeds in each needle for implantation in the prostate gland 11. Such therapy planning module 12 a usually comprises a computer programmed with a therapy planning program. The therapy planning module 12 a is connected to the seed loading unit 8 through a control device 12 for controlling the number of seeds for each needle. Control device 12 may be a separate device or may be an integrated part either of the seed loading unit 8 or of the therapy planning module 12 a or may be embodied in the software of the therapy planning module 12 a or of the seed loading unit 8.

[0091] The known device shown in FIG. 1 operates as follows. A patient 1 is under spinal or general anesthesia and lies on the operating table 2 in lithotomy position. The (ultrasound) imaging probe 7 is introduced into the rectum and the probe is connected via signal line 7 a with a well known image screen, where an image may be seen of the inside of the patient in particular of the prostate gland 11 as seen from the point of view of the imaging probe 7. The template 5 is attached to the drive means 4, thereby insuring the correlation of the ultrasound image geometry and the template 5. The prostate gland 11 is fixed relative to the template 5 and the drive means 4 and the imaging probe 7 by means of one or more needles 9, 10. Subsequently further needles 10 are introduced in the body and the prostate gland under ultrasound guidance one by one.

[0092] Moving the imaging probe with the drive means 4 longitudinally within the rectum controls the needle depths of each needle 10. After all needles 10 have been placed, their positions relative to the prostate gland 11 are determined in at least one of several known ways. In a known way the therapy planning module 12 a determines how the needles 10 are to be placed in the prostate and how many radioactive seeds are to be placed in what order in each of the needles 10. The information about the desired placement of the radioactive seeds in the needles 10 is used to control the seed loading unit 8.

[0093] According to the invention said therapy treatment planning module generates at least one treatment plan as it is provided with a three-dimensional imaging algorithm and a three-dimensional image segmentation algorithm for the specific organs within said anatomical portion, the needles and the tubes for converting the image data obtained with said imaging means into a three-dimensional image of the anatomical portion, whereby by using at least one single or multi-objective anatomy based genetic optimization algorithm for pre-planning or virtual simulation purposes said processing means are arranged to determine in real time the optimal number and position of at least one of said hollow needles, the position of said energy emitting source within each hollow needle as well as the dwell times of said energy emitting source at each position; whereas for post planning purposes said processing means are arranged to determine based on three-dimensional image information in real time the real needle positions and the dwell times of said energy emitting source for each position.

[0094] In FIG. 2 a template is disclosed for use in a real time radiation treatment planning system according to the invention. Especially the template 20 is detachable from a template frame 25, which frame is connected with the stepper means for displacing the imaging means as described in connection with FIG. 1.

[0095] According to the invention template 20 has a grid configuration with needle holes 22 at an intermediate distance of 3.5 mm seen in diagonal direction. In another embodiment the template has a grid configuration with needle holes at an intermediate distance of 2.5 mm seen in orthogonal direction.

[0096] In a specific embodiment the template is a motorized template without holes and the needles are guided with a guiding tube, whereas the guiding tube can be positioned in each position of the virtual template grid. As this embodiment does not use holes, the absence of a grid does not limit the positioning of the needles in relation to the template and the anatomical portion to be treated. In fact with a template without holes the grid configuration is only limited to the diameter of the needles used.

[0097] A more specific embodiment of the template is disclosed in FIG. 2, where said template 20 is detachable from the frame 25. Frame 25 is connected with the stepper means as described above. For a good connection and orientation of the frame 25 and template 20 in relation to the device of FIG. 1 the frame 25 is provided with alignment pins 27 which cooperate with corresponding openings (not shown) in the device of FIG. 1.

[0098] The template 20 has a saddle shaped body 20 a, which fits with the frame 25 as shown in FIG. 2. For alignment purposes the template 20 is provided with notches 11 a-11 b which cooperate with corresponding holes 26 a-26 b present in the circumference of frame 25.

[0099] It is an another object of the invention to describe the catheters or needles inserted in the body through which the HDR source is travelling with their real geometrical dimensions. As a direct result of this it is a next object of the invention that sampling points for dose evaluation, which are lying inside the needles or catheters are excluded. This will contribute to the reduction of the number of sampling points in the anatomical portion compared with other conventional methods and to the increase of the speed.

[0100] As shown in FIG. 3 a catheter or hollow needle is defined by catheter describing points. These points are connected with cylinders and at each catheter describing lengths and diameters. The set of catheters cylinders and spheres are used to describe the geometry of a catheter that may be either metallic linear or plastic and curved.

[0101] For generating each treatment plan the processing means of the radiation treatment planning system according to the invention are arranged to generate a set of multiple sampling points using said three-dimensional imaging algorithm and said three-dimensional image segmentation algorithm and to calculate the optimal radiation dose distribution for each of said sampling points by using a gradient-based algorithm.

[0102] The quality of the results depends on the distribution of the sampling points as generated. According to the invention the dose distribution inside the anatomical portion (PTV), critical structures, such as specific delicate organs (OAR) and the surface of the anatomical portion is estimated from the dose of a small number of points (sampling points).

[0103] As shown in FIG. 4 and 5 the generated sampling points are distributed on the contours and on the triangulated surface of the anatomical portion to be treated. For the contour based method no points are on both ends of the anatomical portion. Therefore a large part of the surface is undefined for the optimization algorithm and the resulting isodose is bounded only by the contours of the anatomical portion.

[0104] Sampling points in the volume are generated from low discrepancy sequences or quasi-random distributed sampling points.

[0105] It is a another objective of the invention that in contrast to pseudo-random distributed sampling points voids and clustering are avoided. Monte-Carlo generated quantities convergence much more rapidly than a conventional pseudo-random sequence. Sampling points inside catheters are excluded. This reduces the influence of very large dose values of sampling points that occasionally are produced very close to the source dwell positions. Statistical values obtained from the sampling points are calculated therefore with a higher accuracy.

[0106] According to the invention two treatment planning steps are performed:

[0107] Pre-planning or inverse planning: Given the geometry of the anatomical portion (PTV) to be treated, the specific organs (OAR) near or within said anatomical portion, a template and its position the optimal number and position of needles, the dwell positions and the dwell times of the energy emitting source are determined, so that the resulting dose distribution satisfies various criteria such as coverage of the anatomical portion with the prescription dose, avoidance of dose values above some critical values in the specific organs, etc.

[0108] Postplanning: Given the geometry of the anatomical portion (PTV) and the specific organs (OAR) and a given number and position of needles and the position of the energy emitting source in each needle the dwell times of the energy emitting source at each position are determined, so that the resulting dose distribution satisfies various criteria such as coverage of the anatomical portion with the prescription dose, avoidance of dose values above some critical values in the specific organs, etc.

Template Based Inverse Planning

[0109]FIG. 6 defines the template and catheter characteristics. The planning software is run on a personal computer or laptop computer and allows the setting of certain objectives/boundaries/parameters prior to the generation of a treatment plan. The displacement step of the source within a needle is set at 5.0 mm in the afterloader parameters, since a 2.5 mm value produces a large number of sources and the optimization using the algorithm according to the invention may take more time and since then 512 MB RAM are recommended. By pressing the button Auto-activation the dialog of FIG. 7 appears, which may contain other organs (or VOIS i.e. Volumes Of Interest)

[0110] This dialog is used for the auto-activation algorithm. The anatomical organ (PTV) and the specific organs (OAR) to be protected against too much radiation exposure are listed as wels as the minimum distance of the source dwell positions from the corresponding VOI in mm. It is used to select only source dwell positions that are at a distance to a corresponding VOI larger than a specified value.

[0111] VOIs for which the corresponding button is pressed only will be considered. In this example the rectum is ignored since it is outside the anatomical portion (PTV).

[0112] Now the program moves all catheters/needles, which inside the anatomical portion taking the specific organs and the geometry of the anatomical portion into account. The user has now to take only a subset of these catheters. In principle this will be done automatically by using an optimization methods which are flexible and robust. This will be the true inverse planning.

[0113] In FIG. 8 the Source Parameter dialog for setting the prescription dose is disclosed. This dialog is used to define the source strength or activity and the prescription dose. These parameters have to be supplied for the use of the optimization algorithms. The source is characterized by its strength in units of U or as activity in units of GBq or Ci. The prescription dose is specified in cGy.

[0114] Subsequently the Inverse planning dialog of FIG. 9 and FIG. 10 Template View and Loading appears. FIG. 10 shows the grid of the template, the catheters and VOIs at various distances from the template. The selected catheters are shown in dark. The catheters which can be selected in light gray. By moving the z-slide a plane parallel is moved along the normal to the template and at some given distance from the template defined by distance z. In the Template View the intersection of the VOIs with that plane is shown in the anatomy window.

[0115] By selecting one of the buttons shown in FIG. 11 (and FIG. 10) the catheter density can be selected.

[0116] By selecting with the mouse cursor one or more of the catheters or needles (except those which are light gray) the selected catheter can be switched on or off. So the user can select the catheters he wants to use during treatment planning. For example a set of catheters on the periphery and an additional set of catheters inside the anatomical portion can be selected. It is perferred to limit the numer of selected catheters or needles to 15-20 in order to limit the number of calculations to be performed.

[0117] Subsequently the dialog of FIG. 12 Geometry and sampling appears which contains information about the sampling points, the number of source dwell positions and the number of catheters. Subsequently a optimization modus has to be selected and the dialog of FIG. 13 appears. Here the optimization method can be selected e.g. a deterministic optimization method.

[0118] After selecting Set Optimization Options in FIG. 13 the dialog of FIG. 14 appears. The specific organs (OAR=Organs At Risk) which are to be considered during the radiation treatment planning have to be selected. In this case the rectum is located outside the anatomical region to be treated and it can be ignored. However in this example prostate cancer is to be treated and therefore the Urethra button is selected as the urethra is present inside the prostate. The critical dose value to which the specific organ may be exposed to as fraction of the prescription dose. In this case it is decided by the medical personnel that the urethra does not to receive more than 50% of the prescription dose. Therefore the factor 1.50 is entered.

[0119] With this dialog a single or multi-objective optimization can be performed. The multi-objective optimization is selected. After the optimization 20 solutions are presented to the user (medic personnel) of the treatment planning system. The treatment planning system Plato developed and commercialized by the present applicant Nucletron B.V. or other systems use a single set of importance factors which is not recommended because there can not be such a single set of importance factors for all cases. There is not a single solution but in principle infinite solutions.

[0120] The treatment planning system according to the invention tries to produce a representative set of multiple treatment planning solutions. The deterministic method is the most simple approach. Recommended is of course the evolutionary algorithm which is more flexible and produces much more solutions out of which the best for each case can be found. It is not always possible to have similar results. Even if only prostate cases are considered.

[0121] After initialization the treatment planning system of the invention calculates the volumes of the anatomical portion and the specific organs, it generates the sampling points and look-up tables are filled. In this case the optimization algorithm repeats 20 times with 20 different sets of importance factors.

[0122] After the optimization step the Decision button has to be selected in order to select a solution and see the results. The dialog of FIG. 15 appears. When the button Show results of all solutions is pressed the dialog of FIG. 16 appears. By moving the slider to the DVH values are made visible, as these values are used in the decision making of the final treatment plan.

[0123] By selecting the column the DVH(1.500) urethra, the values in that column are sorted in descending order. See FIG. 18.

[0124] In FIG. 18 the best radiation dose coverage of the anatomical portion (PTV) is in this example 92.13%, while 10.785% of the urethra receives a dose value above 1.5 times the prescription dose. If the medic personnel want a dose exposure of the urethra below 1% (in FIG. 18 0.77%), then the best coverage for the anatomical portion (prostate) is 86.115%. By pressing the Histogram button the distributions e.g. are displayed (FIG. 19).

[0125] The deterministic algorithms use a mean on the dose normalization for the surface of the anatomical portion and it is therefore not as flexible as the evolutionary algorithms. But the examples still show the differences between the treatment planning solutions obtained with different importance factors/boundary conditions, which can be quite large. So one method would be to consider first the specific organs (OARs), then the dose coverage of the anatomical portion (PTV) and finally the dose in the surrounding tissue. Whatever the preferences of the planner are the algorithm according to the invention generates all possible solutions and the planner can select which treatment solution is the best solution.

[0126] In the event that it is decided that 1% of urethra may to receive more than the critical dose value, then the treatment solution no. 15 is selected in FIG. 20 (see also FIG. 16 and 18). When the solution 15 in the list is selected the Accept single solution button is to be pressed and for seeing the isodose distributions the Iso-Dose of Selected Solution button is to be pressed in FIG. 20.

[0127] By selecting the 3D button in FIG. 21 the isodose values are marked, which are to be displayed (here the isodose for 1×the prescription and 2×the prescription). Subsequently two 3D isodose distributions will be displayed.

Post Implant Optimization

[0128] Post Implant Optimization assumes that the source dwell positions are given. This is in principle what Nucletrons PLATO systems calls inverse planning. After activating the Post Implant Optimization the treatment planning system loads the VOIS and catheters and the Autoactivation dialog of FIG. 22 appears.

[0129] After pressing the OK button the Source parameters dialog of FIG. 23 is displayed. After selecting the source parameters and pressing on OK the system directly continues with the optimization step of FIG. 13. Analogue to the pre-planning step the deterministic optimization algorithm can be selected. The steps of generating multiple treatment solutions are then the same as with the pre-planning step. 

1. Real time radiation treatment planning system for use in effecting radiation therapy of a pre-selected anatomical portion of an animal body, comprising: A a stepper for automatically positioning imaging means for generating image data corresponding to the anatomical portion; B means for inserting under the guidance of a template at least one hollow needle at a position into said anatomical portion; C radiation delivery means for defining a plurality of positions having a spatial relationship within a volume of said anatomical portion and for inserting at least one energy emitting source through said at least one hollow needle at said plurality of positions into said anatomical portion; D processing means for generating a radiation treatment plan for effecting said radiation therapy, said treatment plan including information concerning: the number, position, direction and estimation of the best way of placement of one or more of said hollow needles within the anatomical shape and volume of said anatomical portion to be treated; the amount of radiation dose to be emitted; characterized in that said processing means are provided with a three-dimensional imaging algorithm and a three-dimensional image segmentation algorithm for at least the specific organs within said anatomical portion and the needles for converting the image data obtained with said imaging means into a three-dimensional image of the anatomical portion, whereby by using at least one single or multi-objective anatomy based genetic optimization algorithm for pre-planning or virtual simulation purposes said processing means are arranged to determine in real time the optimal number and position of at least one of said hollow needles, the position of said energy emitting source within each hollow needle as well as the dwell times of said energy emitting source at each position; whereas for post planning purposes said processing means are arranged to determine based on three-dimensional image information in real time the real needle positions and the dwell times of said energy emitting source for each position.
 2. Radiation treatment planning system according to claim 1, characterized in that for generating said treatment plan said anatomy based genetic optimization algorithm uses specific animal body related data and/or system related data and/or radiation related data.
 3. Radiation treatment planning system according to claim 2, characterized in that said animal body related data are data concerning the shape and localization of said anatomical portion and/or the shape and localization of specific organs near or within said anatomical portion.
 4. Radiation treatment planning system according to claim 2, characterized in that said system related data are data concerning the template and its position in relation to said anatomical portion of said animal body and/or the dimensions of the needles used and/or the minimum displacement distance of said energy emitting source through said radiation delivery means.
 5. Radiation treatment planning system according to claim 4, characterized in that the template has a grid configuration with needle holes at an intermediate distance of 3.5 mm seen in diagonal direction.
 6. Radiation treatment planning system according to claim 4, characterized in that the template has a grid configuration with needle holes at an intermediate distance of 2.5 mm seen in orthogonal direction.
 7. Radiation treatment planning system according to claim 4, characterized in that the template is a motorized template without holes and the needles are guided with a guiding tube, whereas the guiding tube can be positioned in each position of the virtual template grid.
 8. Radiation treatment planning system according to claim 4, characterized in that said template is a detachable saddle shaped body surface fitting template detachable itself from the frame of the template.
 9. Radiation treatment planning system according to claim 2, characterized in that said radiation related data are data concerning the prescribed radiation dose to said anatomical portion of said animal body, the maximum radiation exposure dose to said specific organs near or within said anatomical portion.
 10. Radiation treatment planning system according to claim 1, characterized in that for generating each treatment plan said processing means are arranged to generate a set of multiple sampling points using said three-dimensional imaging algorithm and said three-dimensional image segmentation algorithm and to calculate the optimal radiation dose distribution for each of said sampling points by using a gradient-based algorithm.
 11. Radiation treatment planning system according to claim 10, characterized in that the gradient-based algorithm for the radiation dose distribution calculation is based on the relations $\begin{matrix} {{\frac{\partial f_{S}}{\partial x_{k}} = {\frac{4x_{k}}{N_{S}m_{S}^{3}}{\sum\limits_{i = 1}^{N_{S}}{d_{i}^{S}\left( {{m_{S}{\overset{\sim}{d}}_{i\quad k}^{S}} - {d_{i}^{S}{\overset{\sim}{m}}_{k}^{S}}} \right)}}}},} \\ {{\frac{\partial f_{V}}{\partial x_{k}} = {\frac{4x_{k}}{N_{V}m_{V}^{3}}{\sum\limits_{i = 1}^{N_{V}}{d_{i}^{V}\left( {{m_{V}{\overset{\sim}{d}}_{i\quad k}^{V}} - {d_{i}^{V}{\overset{\sim}{m}}_{k}^{V}}} \right)}}}},} \\ {{\frac{\partial f_{OAR}}{\partial x_{k}} = {\frac{4x_{k}}{{N_{OAR}\left( D_{c}^{OAR} \right)}^{2}m_{S}^{3}}{\sum\limits_{i = 1}^{N_{OAR}}{\Theta \quad \left( {d_{i}^{OAR} - {D_{c}^{OAR}m_{S}}} \right)\left( {d_{i}^{OAR} - {D_{c}^{OAR}m_{S}}} \right)\left( {{m_{S}{\overset{\sim}{d}}_{ik}^{OAR}} - {d_{i}^{OAR}{\overset{\sim}{m}}_{k}^{S}}} \right)}}}},} \\ {{d_{i}^{S} = {\sum\limits_{l = 1}^{N_{d}}{x_{l}^{2}{\overset{\sim}{d}}_{i\quad l}^{S}}}},{m_{s} = {\frac{1}{N_{S}}{\sum\limits_{l = 1}^{N_{S}}d_{l}^{S}}}},{{\overset{\sim}{m}}_{k}^{S} = {\frac{1}{N_{S}}{\sum\limits_{l = 1}^{N_{S}}{\overset{\sim}{d}}_{l\quad k}^{S}}}},{k = 1},\quad \ldots \quad,N_{d}} \\ {{d_{i}^{V} = {\sum\limits_{l = 1}^{N_{d}}{x_{l}^{2}{\overset{\sim}{d}}_{i\quad l}^{V}}}},{m_{V} = {\frac{1}{N_{V}}{\sum\limits_{l = 1}^{N_{V}}d_{l}^{V}}}},{{\overset{\sim}{m}}_{k}^{V} = {\frac{1}{N_{V}}{\sum\limits_{l = 1}^{N_{V}}{\overset{\sim}{d}}_{i\quad k}^{V}}}},{k = 1},\quad \ldots \quad,N_{d}} \\ {d_{i}^{OAR} = {\sum\limits_{l = 1}^{N_{d}}{x_{l}^{2}{\overset{\sim}{d}}_{i\quad l}^{OAR}}}} \end{matrix}$

where m_(s) and m_(v) are the average dose values on the surface of the anatomical portion to be treated and within the anatomical portion respectively, where N_(s), N_(v) are the corresponding numbers of sampling points, where d_(i) ^(s), d_(i) ^(v) and d_(i) ^(OAR) is the dose rate at the i^(th) sampling point on the surface of the anatomical portion, within the anatomical portion and within a specific organ respectively, wherein {tilde over (d)}_(il) ^(s), {tilde over (d)}_(il) ^(v), {tilde over (d)}_(il) ^(OAR) are the dose kernel for the i^(th) sampling point and the l^(th) dwell position of the energy emitting source for the sampling points on the surface of the anatomical portion, within the anatomical portion and within a specific organ respectively, and where N_(d) is the number of dwell positions.
 12. Radiation treatment planning system according to claim 11, characterized in that the processing means are arranged to minimize the dose variance f_(s) for each sampling point and the occurrence of high dose values within the anatomical portion according to the algorithms ${f_{S} = {{\frac{1}{N_{S}}{\sum\limits_{i = 1}^{N_{S}}{\frac{\left( {d_{i}^{S} - m_{S}} \right)^{2}}{m_{S}^{2}}\quad {and}\quad f_{V}}}} = {\frac{1}{N_{V}}{\sum\limits_{i = 1}^{N_{V}}\frac{\left( {d_{i}^{V} - m_{V}} \right)^{2}}{m_{V}^{2}}}}}},$

wherein f_(v) is the dose distribution variance.
 13. Radiation treatment planning system according to claim 11, characterized in that the processing means are arranged to minimize the dose variance f_(OAR) for each specific organ according to the algorithm $f_{OAR} = {\frac{1}{N_{OAR}}{\sum\limits_{i = 1}^{N_{OAR}}{\frac{{\Theta \left( {d_{i}^{OAR} - {D_{c}^{OAR}m_{S}}} \right)}\left( {d_{i}^{OAR} - {D_{c}^{OAR}m_{S}}} \right)^{2}}{\left( {D_{c}^{OAR}m_{S}} \right)^{2}}.}}}$


14. Radiation treatment planning system according to claim 10, characterized in that the number of operations for the calculation of the objective functions and their derivatives is independent on the number of sampling points.
 15. Radiation treatment planning system according to claim 10, characterized in that said sampling points represent the boundary of said anatomical portion to be treated and/or the boundary of said specific organs and/or the position of one or more needles.
 16. Radiation treatment planning system according to claim 10, characterized in that the sampling points which are located inside the hollow needles are excluded for the radiation dose distribution calculation.
 17. Radiation treatment planning system according to claim 10, characterized in that the total calculated radiation dose for said sampling points equals the amount of radiation dose to be emitted.
 18. Radiation treatment planning system according to claim 12, characterized in that the sampling points used for the evaluation of the radiation dose distribution and the calculation of the algorithms f_(s), f_(v) and f_(OAR) are generated using a quasi-random number generator.
 19. Radiation treatment planning system according to claim 1, characterized in that the position of each of the needles as virtually determined in said treatment plan is displayed in said three-dimensional image of the anatomical portion on a screen and is used to guidance the corresponding hollow needle at the actual position into said anatomical portion.
 20. Radiation treatment planning system according to claim 19, characterized in that the virtual needles are identified and their positions are displayed as navigation indicators in the image of the anatomical portion obtained during the insertion of the real needles, which real needles replace one by one the virtual ones at the selected position.
 21. Radiation treatment planning system according to claim 1, characterized in that after the execution of the three-dimensional image segmentation algorithm the genetic optimization algorithm is started automatically.
 22. Radiation treatment planning system according to claim 1, characterized in that the definition of each pre-selected anatomic position is determined by a plurality of parallel, not necessarily adjacent contours of said segmented three-dimensional image, whereas additional intermediate contours are interpolated between them, if additional segments are present between the said adjacent contours.
 23. Radiation treatment planning system according to claim 1, characterized in that the definition of a pre-selected anatomic region within the three-dimensional image of the anatomical portion is determined by a straight or curved path and by a closed curve perpendicular to this path, whereas the shape and the size of the closed curve may vary along the path by a plurality of methods.
 24. Radiation treatment planning system according to claim 23, characterized in that the closed curve is defined as a geometric curve of fixed size.
 25. Radiation treatment planning system according to claim 23, characterized in that a pre-selected anatomic region can be a specific organ within the anatomical portion, which specific organ is represented as a tube shaped organ and the closed curve as a circle or ellipsis.
 26. Radiation treatment planning system according to claim 23, characterized in that a hollow needle is described with his real geometrical dimensions.
 27. Radiation treatment planning system according to claim 1, characterized in that during the insertion of the needles their actual position in the animal body is visualized in real time by said imaging means.
 28. Radiation treatment planning system according to claim 1, characterized in that during pre-planning each virtual needle is replaced step by step, after a scanning and three-dimensional reconstruction with the semi-automated segmented needles
 29. Radiation treatment planning system according to claim 1, characterized in that after one or several virtual needles have been replaced by corresponding real needles in the anatomical portion a new treatment plan can be started using an initial needle configuration containing the positions of the real implanted and remaining virtual needles.
 30. Radiation treatment planning system according to claim 1, characterized in that said processing means generate more than one treatment plan simultaneously and use at least one deterministic algorithm for offering a spectrum of best of all treatment solutions.
 31. Method for generating a radiation treatment plan for use in effecting radiation therapy of a selected anatomical portion of an animal body of a patient, comprising the steps of: imaging the anatomical portion to be treated; generating a treatment plan for effecting said radiation therapy, said treatment plan including virtual information concerning: the number and position of one or more of said hollow needles within the anatomical shape and volume of said anatomical portion to be treated; the amount of radiation dose to be emitted; inserting under the guidance of a template or guidance tool at least one hollow needle at a position into said anatomical portion; delivering at least one energy emitting sources through said at least one hollow needle into said anatomical portion using radiation delivery means; characterized in that converting the image data obtained with said imaging menas into a three-dimensional image of the anatomical portion using a three-dimensional imaging algorithm and a three-dimensional image segmentation algorithm for the specific organs within said anatomical portion, the needles and the energy emitting source, using at least one single or multi-objective anatomy based genetic optimization algorithm for determining for pre-planning or virtual simulation purposes determine in real time the optimal number and position of at least one of said hollow needles, the position of said energy emitting source within each hollow needle as well as the dwell times of said energy emitting source at each position; and for determining for post planning purposes based on three-dimensional image information in real time the real needle positions and the dwell times of said energy emitting source for each position.
 32. A template according to claim
 5. 